#!/usr/bin/env bash
#$1 folder
#$2 zip filename
if [ -z "$1" ] || [ -z "$2" ]; then
	echo "Missing parameter"
	echo "create_nibis_save.sh folder zip_filename"
else
	python3 prepare_folder_for_save.py --dir $1 && cd $1 && zip -r "$2" *
fi
